package com.dbfmp.dynamic.demo.common.enums;

public enum DataSourceEnum {


    MASTER("master","主库"),

    SLAVE("slave","从库");

    private String name;
    private String desc;

    DataSourceEnum(String name, String desc) {
        this.name = name;
        this.desc = desc;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
